import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-menu',
  templateUrl: './menu.component.html',
  styleUrls: ['./menu.component.scss']
})
export class MenuComponent implements OnInit {

  menuList = [
    {name: '正则表达式介绍', link: '/lesson1'},
    {name: '正则表达式基础', link: '/lesson2'},
    {name: '元字符分类', link: '/lesson3'},
    {name: 'js正则常用方法', link: '/lesson4'},
    {name: '表达式优先级顺序', link: '/lesson5'},
    {name: '提高正则表达式效率', link: '/lesson6'},
    {name: '正则的练习', link: '/lesson7'},
    {name: '编写爬虫', link: '/lesson8'},
    // {name: '订阅Observable', link: '/lesson9'},
    // {name: 'RxJS库的介绍', link: '/lesson10'},
    // {name: '交互HttpClient', link: '/lesson11'},
    // {name: '发布开源组件', link: '/lesson12'}
  ];
  constructor() { }

  ngOnInit() {
  }

}
